/* src/styles/DiseaseBigData.css */
.DiseaseBigDataBox {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    box-sizing: border-box;
    .DiseaseBigDataTop {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        width: 100%;
        height: 33%;

        .DiseaseBigDataTopItem {
            flex: 1 1 calc(25% - 20px); /* 每行4个图表，减去间隙 */
            min-width: 250px; /* 设置最小宽度以适应小屏幕 */

            .DiseaseBigDataTopItemChart {
                width: 100%;
                height: 250px;
            }
        }
    }

    .DiseaseBigDataMiddle {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        width: 100%;
        height: 33%;

        .DiseaseBigDataMiddleLeft {
            flex: 1 1 50%;
            display: flex;
            flex-direction: column;
            gap: 20px;

            .DiseaseBigDataMiddleLeftItem {
                flex: 1;
                min-width: 300px;

                .DiseaseBigDataMiddleLeftItemChart {
                    width: 100%;
                    height: 250px;
                }
            }
        }

        .DiseaseBigDataMiddleRight {
            flex: 1 1 45%;
            min-width: 300px;
            display: flex;
            flex-direction: column;

            .DiseaseBigDataMiddleRightTitle {
                color: #4a4b4a;
                font-weight: bold;
                font-size: 18px;
                margin-bottom: 10px;
            }

            .DiseaseBigDataMiddleRightItem {
                display: flex;
                align-items: center;
                border-bottom: 1.5px solid #f3f3f3;
                padding: 10px;
                box-sizing: border-box;

                .DiseaseBigDataMiddleRightItemTitle {
                    flex: 0 0 17%;
                    font-weight: bold;
                    color: #4a4b4a;
                    font-size: 14px;
                }

                .DiseaseBigDataMiddleRightItemList {
                    flex: 0 0 17%;
                    font-size: 14px;
                    color: #7b7a84;
                }
            }
        }
    }

    .DiseaseBigDataBottom {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 34%;

        .DiseaseBigDataBottomChart {
            width: 100%;
            max-width: 1400px;
            height: 250px;
        }
    }

    /* 响应式设计 */
    @media (max-width: 1200px) {
        .DiseaseBigDataTopItem {
            flex: 1 1 calc(50% - 20px); /* 每行2个图表 */
        }

        .DiseaseBigDataMiddleRight {
            flex: 1 1 100%;
        }
    }

    @media (max-width: 768px) {
        .DiseaseBigDataTopItem {
            flex: 1 1 100%; /* 每行1个图表 */
        }

        .DiseaseBigDataMiddleLeft {
            flex: 1 1 100%;
        }

        .DiseaseBigDataMiddleRight {
            flex: 1 1 100%;
        }

        .DiseaseBigDataBottomChart {
            height: 300px;
        }
    }
}